package com.lgy.model;

public enum  Channel {
    ALL(null, "[微信、支付宝]"),
    WEIXIN(1, "微信"),
    ZHIFUBAO(2, "支付宝");

    private Integer index;
    private String name;

    public Integer getIndex() {
        return index;
    }

    public void setIndex(Integer index) {
        this.index = index;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    Channel(Integer i, String n) {
        this.index = i;
        this.name = n;
    }
}
